package com.hsmw.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * <p>
 * 充值记录表
 * </p>
 *
 * @author wd
 * @since 2021-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwRechargeRecord对象", description="充值记录表")
public class HsmwRechargeRecord extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "充值金额")
    private String rechargeAmount;

    @ApiModelProperty(value = "结算状态  1.对公汇款 2.支付宝 3. 微信")
    private String rechargeType;

    @ApiModelProperty(value = "充值状态  1. 未入账2. 已入账 3.退回-充值失败")
    private String rechargeStatus;

    @ApiModelProperty(value = "操作人ID")
    private String rechargeUserId;

    @ApiModelProperty(value = "操作人姓名")
    private String rechargeUserName;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作时间")
    private LocalDateTime handleTime;

    @ApiModelProperty(value = "用户类型 COMPANY CONCRETE")
    private String userType;

    @ApiModelProperty(value = "组织ID")
    private String companyId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "组织名称")
    private String companyName;

    @ApiModelProperty(value = "经办人名称")
    private String handleUserName;

    @ApiModelProperty(value = "经办人ID")
    private String handleUserId;

}
